[INFO] fetching crate lazypoline-rs 0.2.0...
[INFO] testing lazypoline-rs-0.2.0 against try#0abe69e6c16114311cc2700e972492e64d69c28f for pr-154065-1
[INFO] extracting crate lazypoline-rs 0.2.0 into /workspace/builds/worker-2-tc2/source
[INFO] started tweaking crates.io crate lazypoline-rs 0.2.0
[INFO] finished tweaking crates.io crate lazypoline-rs 0.2.0
[INFO] tweaked toml for crates.io crate lazypoline-rs 0.2.0 written to /workspace/builds/worker-2-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate lazypoline-rs 0.2.0 on toolchain 0abe69e6c16114311cc2700e972492e64d69c28f
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate lazypoline-rs 0.2.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 5c7c80c8b1f5b903c3b35558d539c026bb33620d855dac916ee1eef72c84560e
[INFO] running `Command { std: "docker" "start" "-a" "5c7c80c8b1f5b903c3b35558d539c026bb33620d855dac916ee1eef72c84560e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "5c7c80c8b1f5b903c3b35558d539c026bb33620d855dac916ee1eef72c84560e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5c7c80c8b1f5b903c3b35558d539c026bb33620d855dac916ee1eef72c84560e", kill_on_drop: false }`
[INFO] [stdout] 5c7c80c8b1f5b903c3b35558d539c026bb33620d855dac916ee1eef72c84560e
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c4a1083bb44c25044e583bf7c902a19dfd0fd63abe544ad2f4f867b67be31a48
[INFO] running `Command { std: "docker" "start" "-a" "c4a1083bb44c25044e583bf7c902a19dfd0fd63abe544ad2f4f867b67be31a48", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.94
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling once_cell v1.21.1
[INFO] [stderr]    Compiling libc v0.2.171
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling regex-syntax v0.6.29
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling overload v0.1.1
[INFO] [stderr]    Compiling log v0.4.26
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling smallvec v1.14.0
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]    Compiling nu-ansi-term v0.46.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling tracing-core v0.1.33
[INFO] [stderr]    Compiling thread_local v1.1.8
[INFO] [stderr]    Compiling tracing-log v0.2.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]    Compiling lazypoline-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling syn v2.0.100
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling regex-automata v0.1.10
[INFO] [stderr]    Compiling matchers v0.1.0
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling lazypoline-macros v0.2.0
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling tracing v0.1.41
[INFO] [stderr]    Compiling tracing-subscriber v0.3.19
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]    --> src/core/zpoline.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ctx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:224:3
[INFO] [stdout]     |
[INFO] [stdout] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:222:3
[INFO] [stdout]     |
[INFO] [stdout] 222 |         ctx.should_emulate = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:118:76
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stdout]     |                                                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stdout]     |                                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stdout]     |                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stdout]     |                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:160:65
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:209:35
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:232:42
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/zpoline.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.50s
[INFO] running `Command { std: "docker" "inspect" "c4a1083bb44c25044e583bf7c902a19dfd0fd63abe544ad2f4f867b67be31a48", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c4a1083bb44c25044e583bf7c902a19dfd0fd63abe544ad2f4f867b67be31a48", kill_on_drop: false }`
[INFO] [stdout] c4a1083bb44c25044e583bf7c902a19dfd0fd63abe544ad2f4f867b67be31a48
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 97cbdc54f5353954104402970a40d005413eea2fa3d0e29b49518e27fb44da7c
[INFO] running `Command { std: "docker" "start" "-a" "97cbdc54f5353954104402970a40d005413eea2fa3d0e29b49518e27fb44da7c", kill_on_drop: false }`
[INFO] [stderr]    Compiling bitflags v2.9.0
[INFO] [stderr]    Compiling rustix v1.0.2
[INFO] [stderr]    Compiling getrandom v0.3.1
[INFO] [stderr]    Compiling linux-raw-sys v0.9.3
[INFO] [stderr]    Compiling anyhow v1.0.97
[INFO] [stderr]    Compiling fastrand v2.3.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling lazypoline-rs v0.2.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]    --> src/core/zpoline.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ctx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:224:3
[INFO] [stdout]     |
[INFO] [stdout] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:222:3
[INFO] [stdout]     |
[INFO] [stdout] 222 |         ctx.should_emulate = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:118:76
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stdout]     |                                                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stdout]     |                                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stdout]     |                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stdout]     |                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:160:65
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:209:35
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:232:42
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/zpoline.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling tempfile v3.19.0
[INFO] [stdout] warning: variable `ctx` is assigned to, but never used
[INFO] [stdout]    --> src/core/zpoline.rs:201:6
[INFO] [stdout]     |
[INFO] [stdout] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stdout]     |         ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: consider using `_ctx` instead
[INFO] [stdout]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:224:3
[INFO] [stdout]     |
[INFO] [stdout] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ctx` is never read
[INFO] [stdout]    --> src/core/zpoline.rs:222:3
[INFO] [stdout]     |
[INFO] [stdout] 222 |         ctx.should_emulate = false;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:118:76
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stdout]     |                                                                               ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stdout]     |                                                                               ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/signal.rs:373:49
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stdout]     |                                                       ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stdout]     |                                                       ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:160:65
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stdout]     |                                                                    ^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stdout]     |                                                                    ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:209:35
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/sud.rs:232:42
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stdout]     |                                             ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stdout]     |                                             ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> src/core/zpoline.rs:124:35
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stdout]     |                                      ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stdout]     |                                      ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 5.36s
[INFO] running `Command { std: "docker" "inspect" "97cbdc54f5353954104402970a40d005413eea2fa3d0e29b49518e27fb44da7c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "97cbdc54f5353954104402970a40d005413eea2fa3d0e29b49518e27fb44da7c", kill_on_drop: false }`
[INFO] [stdout] 97cbdc54f5353954104402970a40d005413eea2fa3d0e29b49518e27fb44da7c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+0abe69e6c16114311cc2700e972492e64d69c28f" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] bec7307cdb8f265f966785856371b10ce87315d0ffb714f6bae82fd10b217c2c
[INFO] running `Command { std: "docker" "start" "-a" "bec7307cdb8f265f966785856371b10ce87315d0ffb714f6bae82fd10b217c2c", kill_on_drop: false }`
[INFO] [stderr] warning: variable `ctx` is assigned to, but never used
[INFO] [stderr]    --> src/core/zpoline.rs:201:6
[INFO] [stderr]     |
[INFO] [stderr] 201 |     let mut ctx = crate::syscall::SyscallContext {
[INFO] [stderr]     |         ^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: consider using `_ctx` instead
[INFO] [stderr]     = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ctx` is never read
[INFO] [stderr]    --> src/core/zpoline.rs:224:3
[INFO] [stderr]     |
[INFO] [stderr] 224 |         ctx.should_emulate = unsafe { *should_emulate } != 0;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr]     = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: value assigned to `ctx` is never read
[INFO] [stderr]    --> src/core/zpoline.rs:222:3
[INFO] [stderr]     |
[INFO] [stderr] 222 |         ctx.should_emulate = false;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = help: maybe it is overwritten before being read?
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/signal.rs:118:76
[INFO] [stderr]     |
[INFO] [stderr] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as i64 };
[INFO] [stderr]     |                                                                               ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 118 |     unsafe { *gregs.add(libc::REG_RIP as usize) = restore_selector_trampoline as *const () as i64 };
[INFO] [stderr]     |                                                                               ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/signal.rs:373:49
[INFO] [stderr]     |
[INFO] [stderr] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as usize;
[INFO] [stderr]     |                                                       ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 373 |         newact_cpy.sa_sigaction = wrap_signal_handler as *const () as usize;
[INFO] [stderr]     |                                                       ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/sud.rs:160:65
[INFO] [stderr]     |
[INFO] [stderr] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as i64 };
[INFO] [stderr]     |                                                                    ^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 160 |     unsafe { *gregs.add(libc::REG_RIP as usize) = asm_syscall_hook as *const () as i64 };
[INFO] [stderr]     |                                                                    ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/sud.rs:209:35
[INFO] [stderr]     |
[INFO] [stderr] 209 |     act.sa_sigaction = handle_sigsys as usize;
[INFO] [stderr]     |                                      ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 209 |     act.sa_sigaction = handle_sigsys as *const () as usize;
[INFO] [stderr]     |                                      ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/sud.rs:232:42
[INFO] [stderr]     |
[INFO] [stderr] 232 |     if oldact.sa_sigaction != handle_sigsys as usize {
[INFO] [stderr]     |                                             ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 232 |     if oldact.sa_sigaction != handle_sigsys as *const () as usize {
[INFO] [stderr]     |                                             ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> src/core/zpoline.rs:124:35
[INFO] [stderr]     |
[INFO] [stderr] 124 |     let hook_addr = asm_syscall_hook as usize;
[INFO] [stderr]     |                                      ^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 124 |     let hook_addr = asm_syscall_hook as *const () as usize;
[INFO] [stderr]     |                                      ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `lazypoline-rs` (lib) generated 9 warnings (run `cargo fix --lib -p lazypoline-rs` to apply 6 suggestions)
[INFO] [stderr] warning: `lazypoline-rs` (lib test) generated 9 warnings (9 duplicates)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s
[INFO] [stderr]      Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/lazypoline_rs-0a97b45f0c53f760)
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stderr]    Doc-tests lazypoline_rs
[INFO] [stdout] 
[INFO] [stdout] running 1 test
[INFO] [stdout] test src/lib.rs - (line 9) ... FAILED
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout] 
[INFO] [stdout] ---- src/lib.rs - (line 9) stdout ----
[INFO] [stdout] error[E0432]: unresolved import `lazypoline`
[INFO] [stdout]   --> src/lib.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 | use lazypoline::{self, syscall, SyscallContext, SyscallAction};
[INFO] [stdout]    |                  ^^^^ no external crate `lazypoline`
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied
[INFO] [stdout]   --> src/lib.rs:21:18
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .handler(handle_open())
[INFO] [stdout]    |                  ^^^^^^^^^^^-- argument #1 is missing
[INFO] [stdout]    |
[INFO] [stdout] note: function defined here
[INFO] [stdout]   --> src/lib.rs:13:4
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn handle_open(ctx: &mut SyscallContext) -> SyscallAction {
[INFO] [stdout]    |    ^^^^^^^^^^^ ------------------------
[INFO] [stdout] help: provide the argument
[INFO] [stdout]    |
[INFO] [stdout] 21 |         .handler(handle_open(/* ctx */))
[INFO] [stdout]    |                              +++++++++
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 2 previous errors
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0432.
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] Couldn't compile the test.
[INFO] [stdout] 
[INFO] [stdout] failures:
[INFO] [stdout]     src/lib.rs - (line 9)
[INFO] [stdout] 
[INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s
[INFO] [stdout] 
[INFO] [stdout] all doctests ran in 0.31s; merged doctests compilation took 0.15s
[INFO] [stderr] error: doctest failed, to rerun pass `--doc`
[INFO] running `Command { std: "docker" "inspect" "bec7307cdb8f265f966785856371b10ce87315d0ffb714f6bae82fd10b217c2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bec7307cdb8f265f966785856371b10ce87315d0ffb714f6bae82fd10b217c2c", kill_on_drop: false }`
[INFO] [stdout] bec7307cdb8f265f966785856371b10ce87315d0ffb714f6bae82fd10b217c2c
